package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.UserAccount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author BLNYZYKER
* @description 针对表【user_account(用户账号认证信息表)】的数据库操作Service
* @createDate 2025-09-09 10:11:21
*/
public interface UserAccountService extends IService<UserAccount> {
    UserAccount getUserAccountByUsername(String username);
    UserAccount getUserAccountById(Long id);
    int addUserAccount(UserAccount userAccount);
    int updateUserAccount(UserAccount userAccount);
    int deleteUserAccount(Long id);
    int reverseStatus(Long id);
    List<UserAccount> getAll(UserAccount userAccount);
    IPage<UserAccount> getPage(UserAccount userAccount, IPage page);
}
